package com.ruoyi.system.service;

import com.ruoyi.system.domain.YtCustomerInvoice;

import java.util.List;

/**
 * 客户发票Service接口
 * 
 * @author magichaohao
 * @date 2021-05-13
 */
public interface IYtCustomerInvoiceService 
{
    /**
     * 查询客户发票
     * 
     * @param clientInvoiceId 客户发票ID
     * @return 客户发票
     */
    public YtCustomerInvoice selectYtCustomerInvoiceById(Long clientInvoiceId);

    public List<YtCustomerInvoice> selectYtCustomerMsgById(Long customerId);

    /**
     * 查询客户发票列表
     * 
     * @param ytCustomerInvoice 客户发票
     * @return 客户发票集合
     */
    public List<YtCustomerInvoice> selectYtCustomerInvoiceList(YtCustomerInvoice ytCustomerInvoice);

    /**
     * 新增客户发票
     * 
     * @param ytCustomerInvoice 客户发票
     * @return 结果
     */
    public int insertYtCustomerInvoice(YtCustomerInvoice ytCustomerInvoice);

    /**
     * 修改客户发票
     * 
     * @param ytCustomerInvoice 客户发票
     * @return 结果
     */
    public int updateYtCustomerInvoice(YtCustomerInvoice ytCustomerInvoice);

    /**
     * 批量删除客户发票
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteYtCustomerInvoiceByIds(String ids);

    /**
     * 删除客户发票信息
     * 
     * @param clientInvoiceId 客户发票ID
     * @return 结果
     */
    public int deleteYtCustomerInvoiceById(Long clientInvoiceId);
}
